//
//  TOToolBar.h
//  X-Tribe
//
//  Created by Miss.Ou on 16/4/9.
//  Copyright © 2016年 Miss.Ou. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TOToolBar;
typedef  enum
{
    
    TOToolbarButtonTypeCamera, // 照相机
    TOToolbarButtonTypePicture, // 相册
    TOToolbarButtonTypeMention, // 提到@
    TOToolbarButtonTypeTrend, // 话题
    TOToolbarButtonTypeEmotion // 表情
    
}TOToolbarButtonType;


@protocol TOToolbarDelegate<NSObject>

@optional
- (void)composeTool:(TOToolBar *)toolbar didClickedButton:(TOToolbarButtonType)buttonType;
@end

@interface TOToolBar : UIView

@property(nonatomic,weak)id<TOToolbarDelegate>delegate;
@property(nonatomic,assign,getter=iseEmototion)BOOL showEmototionBtn;


@end
